function callback_icones(data)
{
if (!data.success) 
	add_alert("../Common/svg/alert.svgz","outil",dialog[0] + " : 000\n" + dialog[1] + "\n" + dialog[2])
else
	icones_name = data.content.split("\n")
}

function callback_dialog(data)
{
if (!data.success) 
	add_alert("../Common/svg/alert.svgz","outil",dialog[0] + " : 001\n" + dialog[1] + "\n" + dialog[2])
else
	dialog = data.content.split("\n")
}

function callback_popup(data)
{
if (!data.success) 
	add_alert("../Common/svg/alert.svgz","outil",dialog[0] + " : 002\n" + dialog[1] + "\n" + dialog[2])
else
	popup = data.content.split("\n")
}

function callback_interface(data)
{
if (!data.success) 
	add_alert("../Common/svg/alert.svgz","outil",dialog[0] + " : 003\n" + dialog[1] + "\n" + dialog[2])
else
{
    var interfaces = data.content.split("\n")
	for (var i = 0 ; i < interfaces.length ; i ++)
		if (svgdoc.getElementById("interface" + i.toString()) != null)
		 	svgdoc.getElementById("interface" + i.toString()).firstChild.data = interfaces[i]
}
}

function callback_menus(data)
{
if (!data.success) 
	add_alert("../Common/svg/alert.svgz","outil",dialog[0] + " : 004\n" + dialog[1] + "\n" + dialog[2])
else
{
    var menus_text = data.content.split("\n")
	eval("menus = new Array(" + data.content + ")")
	make_menus(evt)
}
}

function callback_menus_cont(data)
{
if (!data.success) 
	add_alert("../Common/svg/alert.svgz","outil",dialog[0] + " : 003\n" + dialog[1] + "\n" + dialog[2])
else
{
    var interfaces = data.content.split("\n")
	for (var i = 0 ; i < interfaces.length ; i ++)
		if (svgdoc.getElementById("mc" + i.toString()) != null)
		 	svgdoc.getElementById("mc" + i.toString()).firstChild.data = interfaces[i]
	context_menus('menu_defaut',evt)
}
}